*
* $Id: socket_lib.fd,v 1.18 1993/08/05 21:01:58 jraja Exp $
*
* Copyright (c) 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
*                    Helsinki University of Technology, Finland.
*                    All rights reserved.
*
* fd file for the "bsdsocket.library" version 1.1
*
* Created      : Mon Apr  5 10:19:13 1993 ppessi
* Last modified: Thu Aug  5 23:40:19 1993 jraja
*
*
##base _SocketBase
##bias 30
##public
*------ standard bsd socket system calls -----
socket(domain, type, protocol)(d0/d1/d2)
bind(s, name, namelen)(d0/a0/d1)
listen(s, backlog)(d0/d1)
accept(s, addr, addrlen)(d0/a0/a1)
connect(s, name, namelen)(d0/a0/d1)
sendto(s, msg, len, flags, to, tolen)(d0/a0/d1/d2/a1/d3)
send(s, msg, len, flags)(d0/a0/d1/d2)
recvfrom(s, buf, len, flags, from, fromlen)(d0/a0/d1/d2/a1/a2)
recv(s, buf, len, flags)(d0/a0/d1/d2)
shutdown(s, how)(d0/d1)
setsockopt(s, level, optname, optval, optlen)(d0/d1/d2/a0/d3)
getsockopt(s, level, optname, optval, optlen)(d0/d1/d2/a0/a1)
getsockname(s, hostname, namelen)(d0/a0/a1)
getpeername(s, hostname, namelen)(d0/a0/a1)
*------ generic system calls related to sockets
IoctlSocket(d, request, argp)(d0/d1/a0)
*------ AmiTCP/IP specific stuff
CloseSocket(d)(d0)
WaitSelect(nfds, readfds, writefds, execptfds, timeout, maskp)(d0/a0/a1/a2/a3/d1)
SetSocketSignals(SIGINTR, SIGIO, SIGURG)(d0/d1/d2)
SetDTableSize(size)(d0)
ObtainSocket(id, domain, type, protocol)(d0/d1/d2/d3)
ReleaseSocket(fd, id)(d0/d1)
ReleaseCopyOfSocket(fd, id)(d0/d1)
Errno()()
SetErrnoPtr(errno_p, size)(a0/d0)
*------ inet library calls related to inet address manipulation
Inet_NtoA(in)(d0)
inet_addr(cp)(a0)
Inet_LnaOf(in)(d0)
Inet_NetOf(in)(d0)
Inet_MakeAddr(net, host)(d0/d1)
inet_network(cp)(a0)
*------ gethostbyname etc
gethostbyname(name)(a0)
gethostbyaddr(addr, len, type)(a0/d0/d1)
getnetbyname(name)(a0)
getnetbyaddr(net, type)(d0/d1)
getservbyname(name, proto)(a0/a1)
getservbyport(port, proto)(d0/a0)
getprotobyname(name)(a0)
getprotobynumber(proto)(d0) 
*------ resolver functions
*------ syslog functions
Syslog(level, format, ap)(d0/a0/a1)
*------ AmiTCP/IP 1.1 extensions
Dup2Socket(fd1, fd2)(d0/d1)
##end
